package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SysRole {

    //编号
    @TableId(type = IdType.AUTO)
    private Integer id;

    //名称
    private String name;

    //岗位
    private  String remark;

    //创建者
    private  String createBy;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    //最后修改人
    private  String lastUpdateBy;

    //最后修改时间
    private Date lastUpdateTime;

    private Long delFlag;
}
